-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds basic auth #96
base: master
Are you sure you want to change the base?
Adds basic auth #96
Conversation
Codecov Report
@@ Coverage Diff @@
## master #96 +/- ##
==========================================
+ Coverage 99.42% 99.43% +0.01%
==========================================
Files 2 2
Lines 345 354 +9
==========================================
+ Hits 343 352 +9
Misses 2 2
Continue to review full report at Codecov.
|
very nice. :) thank you <3 Let's see when this gets a review |
Hello Zeit 👋 Any update on this? Our team over here can be using this a lot :) Let me know if I can help in any way to get this merged! Thanks, |
fwiw, our team would love to have this work as well, so we can lock down internal deployments. |
This would be a really nice addition for dev environments. |
Any update on this progress? |
based on: * upstream PR 96 vercel/serve-handler#96
based on: * upstream PR 96 vercel/serve-handler#96
based on: * upstream PR 96 vercel/serve-handler#96
This PR is aiming to address #60, since there hasn't been much conversation around it yet. I tried to match the error responses as closely as possible to the surrounding code, and am working with a basic config setup of
"static": { "auth": [ "username", "password" ] }
in the config file itself (I also am opening a PR to zeit/schemas to support this addition, vercel/schemas#54).Please let me know if additional changes are needed, I'd be happy to address any concerns. Or if this is a "will not fix" kind of issue, please let me know as well. I know for me and my team, though, this would make our lives a lot easier.
Note: I'm pretty sure I got most of the coverage, but again, just working off existing examples, let me know if more is needed. EDIT: found the issue, should be at 100% coverage now